package com.ocom.webapi.service;

import com.ocom.common.constant.HumanServiceUrl;
import com.ocom.common.constant.WebApiServiceUrl;
import com.ocom.common.request.web.ConsumeDeviceAddRequest;
import com.ocom.common.request.web.ConsumeDeviceDeleteRequest;
import com.ocom.common.resp.Result;
import com.ocom.webapi.vo.consumedevice.OnShowVo;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestPart;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.Valid;

public interface ConsumeDeviceService {

    //2.4.3消费设备新增（ConsumeDevice/add）
    public Result ConsumeDeviceAdd(ConsumeDeviceAddRequest request);

    //2.4.6消费设备删除（ConsumeDevice/delete）
    public Result ConsumeDeviceDelete(ConsumeDeviceDeleteRequest request);

    //2.4.1消费设备列表（ConsumeDevice/onShow）
    public Result ConsumeDeviceOnShow(OnShowVo onShowVo);

    // 导入消费设备（ConsumeDevice/import）
    public Result ConsumeDeviceImport(Long comId,MultipartFile file);


}
